
<style lang="scss" scoped>

.iframe-login{border: none; width: 290px; height: 420px; overflow: hidden;}


</style>

<template>

    <section>

        xxxxx
        <div>
            <!--<img src="http://apitest-sass.jinghao.com/com/index/testLogin">-->

            <iframe frameborder="0" scrolling="0" class="iframe-login" src="http://apitest-sass.jinghao.com/com/index/testLogin"></iframe>

        </div>

    </section>

</template>

<script>

    import qs from 'qs'
    import com from 'js/common'

    var wxLoginJs = 'http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js';
    function wxLoginInit(){
        com.createJs(wxLoginJs, function(){
            var obj = new WxLogin({
                id:"login_container",
                appid: "",
                scope: "",
                redirect_uri: "",
                state: "",
                style: "",
                href: ""
            });
        });
    }

    export default{
        data: function(){
            return {}
        },
        mixins: [mixinMethods],
        methods: {

        },
        mounted: function(){


            axios.post('/com/member/getLoginConfig', qs.stringify({})).then( (res) => {
                 var d = res.data;
                 /*if(d.flag == 1){
                 }*/
             } )

            axios.post('/com/member/wxLoginCall', qs.stringify({
                code: 's',
                state: 's'
            })).then( (res) =>{

            });
        }
    }


</script>